package view.mt4j.component.state;

import org.mt4j.MTApplication;

import model.uml.state.AbstractState;
import model.util.Dimension;
import view.interfaces.component.state.StateView;
import view.mt4j.component.AbstractComponentView;

public abstract class AbstractStateView extends AbstractComponentView implements
		StateView {

	public AbstractStateView(MTApplication app, AbstractState abstractState) {
		super(app, abstractState);
	}

	@Override
	public Dimension getDimension() {
		return ((AbstractState) statechartComponent).getDimension();
	}

	@Override
	public void setDimension(Dimension dimension) {
		((AbstractState) statechartComponent).setDimension(dimension);
	}

	@Override
	public void select() {
		// TODO Auto-generated method stub

	}

	@Override
	public void unselect() {
		// TODO Auto-generated method stub

	}

}
